/*
 * Copyright (c) 2022. J4dream Created.
 */

package com.j4dream.property.javabasic.designpattern.adapter;

class SimpleHandlerAdapter implements HandlerAdapter {
    @Override
    public boolean supports(Object handler) {
        return handler instanceof SimpleHandel;
    }
    @Override
    public void handler(Object handler) {
        ((SimpleHandel)handler).doSimpleHandel();
    }
}
